home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SNNSV32.ZIP / SNNSv3.2 / xgui / sources / ui_edit.ph < prev    next >
Encoding:
Text File  |  1994-04-25  |  2.4 KB  |  83 lines

  1. /*****************************************************************************
  2.   FILE           : ui_edit.ph
  3.   SHORTNAME      : edit.ph
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : callbacks for editing sites and f-types
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Tilman Sommer
  10.   DATE           : 25.9.1990
  11.  
  12.   CHANGED BY     : Guenter Mamier
  13.   IDENTIFICATION : @(#)ui_edit.ph    1.8 3/2/94
  14.   SCCS VERSION   : 1.8
  15.   LAST CHANGE    : 3/2/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.              
  19. ******************************************************************************/
  20.  
  21.  
  22. #ifndef _UI_EDIT_DEFINED_
  23. #define _UI_EDIT_DEFINED_
  24.  
  25.  
  26. /* begin global definition section */
  27.  
  28.  
  29. void  ui_edit_selectFunction (Widget, int, caddr_t);
  30. void  ui_edit_setSite (Widget, struct SimpleListType *, caddr_t);
  31. void  ui_edit_listSetSite (Widget, int, XawListReturnStruct *);
  32. void  ui_edit_setCurrentSite (char *);
  33. void  ui_edit_newSite (Widget, struct SimpleListType *, caddr_t);
  34. void  ui_edit_deleteSite (Widget, struct SimpleListType *, caddr_t);
  35. void  ui_edit_displayFirstFType (struct SimpleListType *);
  36. void  ui_edit_ftypeAddSite (Widget, struct SimpleListType *, caddr_t);
  37. void  ui_edit_ftypeDeleteSite (Widget, struct SimpleListType *, caddr_t);
  38. void  ui_edit_chooseFType (Widget, struct SimpleListType *, caddr_t);
  39. void  ui_edit_setFType (Widget, struct SimpleListType *, caddr_t);
  40. void  ui_edit_newFType (Widget, struct SimpleListType *, caddr_t);
  41. void  ui_edit_deleteFType (Widget, struct SimpleListType *, caddr_t);
  42.  
  43.  
  44.     /* widgets in the edit panels */
  45. Widget ui_edit_siteFuncNameWidget;
  46. Widget ui_edit_siteNameWidget;
  47. Widget ui_edit_actFuncNameWidget;
  48. Widget ui_edit_outFuncNameWidget;
  49. Widget ui_edit_ftypeNameWidget;
  50.  
  51.     /* the following values are available after */
  52.     /* the call of ui_list_buildList */
  53. int   ui_list_noOfFtypes;     /* no of ftypes reported by the kernel */
  54.  
  55.     /* names */
  56. char    ui_edit_siteName[MAX_NAME_LENGTH];
  57. char    ui_edit_siteFuncName[MAX_NAME_LENGTH];
  58.  
  59.  
  60. /* end global definition section */
  61.  
  62.  
  63. /* begin private definition section */
  64.  
  65.  
  66. static void  ui_edit_displayFType(char *, struct SimpleListType *);
  67.  
  68.  
  69.     /*  names */
  70. static char    ui_edit_actFuncName[MAX_NAME_LENGTH];
  71. static char    ui_edit_ftypeName[MAX_NAME_LENGTH];
  72. static char    ui_edit_outFuncName[MAX_NAME_LENGTH];
  73.  
  74.  
  75. /* end private definition section */
  76.  
  77.  
  78. #endif /* _UI_EDIT_DEFINED_ */
  79.  
  80.  
  81. /* end of file */
  82. /* lines: 40 */
  83.